//
//  CAIUpgradeGeneralUIConfig.h
//  CHSUpgradeManager
//
//  Created by 海参 on 2021/9/18.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "CAIUpdateAlertConfiguration.h"

NS_ASSUME_NONNULL_BEGIN



@interface CAIUpgradeGeneralUIConfig : NSObject

/// 图
@property (nonatomic, strong) UIImage *iconImage;

/// 灰度icon图-2022-07-08
@property (nonatomic, strong) UIImage *grayIconImage;

/// 按钮背景图
@property (nonatomic, strong) UIImage *doButtonBackgroundImage;


/// 按钮背景色
@property (nonatomic, strong) UIColor *doButtonBackgroundColor;

/// 按钮title
@property (nonatomic, copy) NSString *doButtonTitle;

/// 设置'立即体验'按钮圆角类型；默认UpgradeDoButtonCornerTypePlain
@property (nonatomic, assign) UpgradeDoButtonCornerType doButtonCornerType;

/// 设置'立即体验'按钮圆角,只有UpgradeDoButtonCornerTypePlain才有效
@property (nonatomic, assign) CGFloat doButtonCornerRadius;

/// 设置是否支持从presented视图弹灰度弹窗：仅有效于isGreyWithPresentAlert=YES的时候；适配KA客户端
@property (nonatomic, assign) BOOL checkCurrentViewPresented;

/// 灰度弹窗是否用alertController，默认NO；
@property (nonatomic, assign) BOOL isGreyWithPresentAlert;

@end

NS_ASSUME_NONNULL_END
